<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../core/include.inc.jsp"%>

<form id="pagerForm" method="post" action="pro_Fee_list">
    <input type="hidden" name="pageNum" value="${pageModel.pageNum}" />
    <input type="hidden" name="numPerPage" value="${pageModel.numPerPage}" />
    <input type="hidden" name="proBlockName" value="${propertyFee.proBlockName}" />
</form>

<form onsubmit="return navTabSearch(this);" action="pro_Fee_list" method="post">
    <div class="pageHeader">
        <div class="searchBar">
            <ul class="searchContent">
                <li>
                    <label>小区名称：</label>
                    <input type="text" name="proBlockName" value="${propertyFee.proBlockName}" class="textInput" />
                </li>
            </ul>
            <div class="subBar">
                <ul>
                    <li><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></li>
                </ul>
            </div>
        </div>
    </div>
    <div class="pageContent">
        <div class="panelBar">
            <ul class="toolBar">
                <li><a class="add" href="to_Fee_add" target="dialog" rel="to_Fee_add"
                       width="600" height="400" mask="true"><span>新增</span></a></li>
                <li class="line">line</li>
                <li><a class="edit" href="to_fee_edit?id={item_id}" target="dialog" rel="to_fee_edit"
                       width="600" height="400" mask="true"><span>修改</span></a></li>
                <li class="line">line</li>
                <li><a class="delete" href="fee_delect?id={item_id}" target="ajaxTodo" title="确定要删除吗?"><span>删除</span></a></li>
                <li class="line">line</li>
            </ul>
        </div>
        <table class="table" width="100%" layoutH="137">
            <thead>
            <tr>
                <th>序号</th>
                <th>物业/社区名称</th>
                <th>小区名称</th>
                <th>物业费类型</th>
                <th>备注</th>
                <th>创建时间</th>
            </tr>
            </thead>
            <tbody>
            <c:forEach var="item" items="${list}" varStatus="st">
                <tr target="item_id" rel="${item.id}" ondblclick="tableclick()">
                    <td>${st.index+1}</td>
                    <td>${workNo}</td>
                    <td>${item.proBlockName}</td>
                    <td>${item.proFeeType}</td>
                    <td>${item.proRemark}</td>
                    <td>
                        <fmt:formatDate value="${item.createTime}" pattern="yyyy-MM-dd"/>
                    </td>
                </tr>
            </c:forEach>
            </tbody>
        </table>

        <c:import url="../core/pagebar.inc.jsp" />

    </div>
</form>
